﻿@model GosWeb.Models.Db.GeneRatio

@{
    ViewBag.Title = "编辑血统";
}


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@ViewBag.Title |    
        @Html.ActionLink("返回 生物信息页", "../Biont/Details", new { id = Model.AnID}) | 
        @Html.ActionLink("删除", "Delete", new { id = Model.GrID }) |
        </legend>

        @Html.HiddenFor(model => model.GrID)

        <div class="editor-label">
            @Html.LabelFor(model => model.AnID  )
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => model.AnID)
            @Html.ValidationMessageFor(model => model.AnID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GeneCode)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GeneCode)
            @Html.ValidationMessageFor(model => model.GeneCode)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Ratio)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Ratio) %
            @Html.ValidationMessageFor(model => model.Ratio)
        </div>

        <p>
            <input type="submit" value="保存" />
        </p>
    </fieldset>
}

<div>

</div>
